package ylz.com.po;

/**
 * YyFwwdipId entity. @author MyEclipse Persistence Tools
 */

public class YyFwwdipId implements java.io.Serializable {

	// Fields

	private Integer lsh000;
	private String ip0000;

	// Constructors

	/** default constructor */
	public YyFwwdipId() {
	}

	/** full constructor */
	public YyFwwdipId(Integer lsh000, String ip0000) {
		this.lsh000 = lsh000;
		this.ip0000 = ip0000;
	}

	// Property accessors

	public Integer getLsh000() {
		return this.lsh000;
	}

	public void setLsh000(Integer lsh000) {
		this.lsh000 = lsh000;
	}

	public String getIp0000() {
		return this.ip0000;
	}

	public void setIp0000(String ip0000) {
		this.ip0000 = ip0000;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof YyFwwdipId))
			return false;
		YyFwwdipId castOther = (YyFwwdipId) other;

		return ((this.getLsh000() == castOther.getLsh000()) || (this
				.getLsh000() != null
				&& castOther.getLsh000() != null && this.getLsh000().equals(
				castOther.getLsh000())))
				&& ((this.getIp0000() == castOther.getIp0000()) || (this
						.getIp0000() != null
						&& castOther.getIp0000() != null && this.getIp0000()
						.equals(castOther.getIp0000())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result
				+ (getLsh000() == null ? 0 : this.getLsh000().hashCode());
		result = 37 * result
				+ (getIp0000() == null ? 0 : this.getIp0000().hashCode());
		return result;
	}

}